package com.nulldev.util.java.swing.extSwing.notifications;

import com.nulldev.util.other.Timer;

public class Notification {

	private String text;
	private String title = "";
	private final Timer t = new Timer();
	
	public Notification(final String text) {
		this.text = text;
		this.t.setDelay(500L);
		this.t.start();
	}
	
	public Notification(final String text, final String title) {
		this.text = text;
		this.title = title;
		this.t.setDelay(500L);
		this.t.start();
	}
	
	public String getText() {
		return this.text;
	}
	
	public String getTitle() {
		return this.title;
	}
	
	public Timer getTimer() {
		return this.t;
	}
}
